<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of BTBManageTourBoxFormModel
 *
 * @author I062261
 */
class BTBManageTourBoxFormModel extends CFormModel {

    //put your code here
    public $nativeSentence;
    public $foreignSentence;
    public $nativeLanguage;
    public $foreignLanguage;
    public $nativeCategory;
    public $foreignCategory;

    public function rules() {
        return array(
            array('nativeSentence', 'required'),
            array('foreignSentence', 'required'),
            array('nativeLanguage', 'safe'),
            array('foreignLanguage', 'safe'),
            array('nativeCategory', 'safe'),
            array('foreignCategory', 'safe'),
        );
    }

}

?>
